﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="searchlite.aspx.cs" Inherits="VISS.Web.Frontend.Guest.GuestSearchlite" %>
<%@ Register Src="~/modules/general/controls/header.ascx" TagName="header" TagPrefix="viss" %>
<%@ Register Src="~/modules/user/profiles/controls/searchThumbResult.ascx" TagName="searchThumbResult" TagPrefix="viss" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><%=PageTitle %></title>
    <meta content="<%=Description %>" name="description" />
	<meta content="<%=Keywords %>" name="keywords" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta content="index, follow" name="robots" />
    <link rel="icon" href="<%=AppSettings.ResourcesPath %>/images/generals/favicon.ico?rand=20110113" type="image/x-icon" />
    <link rel="shortcut icon" href="<%=AppSettings.ResourcesPath %>/images/generals/favicon.ico?rand=20110113" type="image/x-icon" /> 
    
    <link href="<%=AppSettings.ResourcesPath %>/styles/tip-twitter.css?rand=20110113" rel="stylesheet" type="text/css" />
    <link href="<%=AppSettings.ResourcesPath %>/styles/shadowbox.css?rand=20110113" rel="stylesheet" type="text/css" />
    <link href="<%=AppSettings.ResourcesPath %>/styles/layout.css?rand=?rand=20110113" rel="stylesheet" type="text/css" />
    
    <script type="text/javascript">
        var GLOBAL_ROOT_URL = '<%=AppSettings.RootURL %>';
        var GLOBAL_RESOURCES_PATH = '<%=AppSettings.ResourcesPath %>';
    </script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery-1.4.2.min.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.validate.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.alerts.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.charcounter.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.filestyle.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.date.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.datePicker.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.poshytip.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/jquery.timeago.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/lib/jquery/shadowbox.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/util/jnct.stringutils.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/util/jnct.tabs.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/util/jnct.formatdate.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/util/jnct.dateadd.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/util/jnct.checkdate.js?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/exec/constants.js?rand=?rand=20110113" type="text/javascript"></script>
    <script src="<%=AppSettings.ResourcesPath %>/scripts/exec/exec.js?rand=?rand=20110113" type="text/javascript"></script>
    
</head>
<body>
    <!-- BEGIN EFFECTIVE MEASURE CODE -->
    <!-- COPYRIGHT EFFECTIVE MEASURE -->
    <script type="text/javascript">
        (function() {
            var em = document.createElement('script'); em.type = 'text/javascript'; em.async = true;

            em.src = ('https:' == document.location.protocol ? 'https://vn-ssl' : 'http://vn-cdn') + '.effectivemeasure.net/em.js';

            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(em, s);
        })();
    </script>
    <img src="//vn.effectivemeasure.net/em_image" alt="" style="position:absolute; left:-5px;" />
    <!--END EFFECTIVE MEASURE CODE -->
    <!--END EFFECTIVE MEASURE CODE -->
    <form id="frmmain">
        <div id="main-body">
            <div id="head-page">
                <viss:header ID="idHeader" runat="server" EnableViewState="false" />                
                <div id="header-bar">
                    <div class="bg-bar">
                        <div class="tab-panel" >
                            <div class="tab tab-act">Kết quả tìm kiếm</div>
                        </div>                        
                    </div>
                </div>
            </div>
            <div id="main-page">
                <div id="container">
                    <!-- begin: main-col -->
                    <div id="main-col">
                        <div id="search-page">
                            <div class="footer" style="overflow: hidden; height: 40px;">
                                <div class="footer-left">
                                    <strong>Chỉ thành viên VISS mới xem đầy đủ họ tên và danh sách tìm kiếm. Vui lòng <a style="color: #A90037; font-weight: bold;" href="<%=AppSettings.RootURL %>login">đăng nhập</a> để xem đầy đủ danh sách hoặc <a style="color: #A90037; font-weight: bold;" href="<%=AppSettings.RootURL %>register">đăng ký</a> nếu bạn chưa là thành viên.</strong>
                                </div>
                            </div>
                            <div class="header">
                                <div class="left"><%=TotalRecord %> kết quả</div>
                            </div>
                            <div class="content">
                            <% if (TotalRecord > 0) { %>
                                <% for (int i = 0; i < SearchResult.Count; i++) { %>
                                    <div class="search-thumb-box">
                                        <div class="top">
                                            <div class="top-icon">
                                                <img src="<%=AppSettings.ResourcesPath %>/images/icon-light-on.jpg" />
                                            </div>
                                            <a class="name" href="javascript:void(0);" onclick="jAlert(LoginRequired);"><%=VISS.Web.Frontend.Commons.CutShortName(SearchResult[i].Name) %></a>
                                        </div>
                                        <div class="top-info"><%=SearchResult[i].Age%> Tuổi, <%=SearchResult[i].City%></div>
                                        <div class="bottom">
                                            <div class="avatar">
                                                <a href="javascript:void(0);" onclick="jAlert(LoginRequired);"><img src="<%=VISS.Web.Frontend.AvatarUtils.GetAvatarThumbPath(SearchResult[i].AvatarFileName, SearchResult[i].AvatarImageStoreID, SearchResult[i].Gender, SearchResult[i].AvatarStatus) %>" /></a>
                                            </div>
                                            <div class="right">
                                                <div class="right-item">
                                                    <img src="<%=AppSettings.ResourcesPath %>/images/icon-view-picture.jpg" onclick="jAlert(LoginRequired);" title="Xem hình ảnh của thành viên" />
                                                </div>
                                                <div class="right-item">
                                                    <img src="<%=AppSettings.ResourcesPath %>/images/icon-send-message.jpg" onclick="jAlert(LoginRequired);" title="Gửi tin nhắn cho thành viên" />
                                                </div>
                                                
                                                <%--<% if (((VISS.API.Users.EvtNoelUserSrhResEnt)SearchResult[i]).GoOut) { %>
                                                    <div class="noel-item">
                                                        <img src="<%=AppSettings.ResourcesPath %>/images/icon-tet.png" title="Thành viên này đang tìm bạn cùng đi chơi Tết" />
                                                    </div>
                                                <% } %>--%>
                                            </div>
                                            <div class="under"><img src="<%=AppSettings.ResourcesPath %>/images/border-avatar.jpg" /></div>
                                        </div>
                                    </div>
                                <% } %>
                            <% } else { %>
                                <div style="height: 170px; padding-top: 20px; text-align: center" >Không tìm thấy kết quả phù hợp</div>
                            <% } %>
                            </div>
                        </div>
                    </div>
                    <!-- end: main-col -->
                    <!-- begin: right-col -->
                    <div id="right-col">                        
                        <img src="<%=AppSettings.ResourcesPath %>/images/banner/banner-right-tet.jpg" />
                    </div>
                    <!-- end: right-col -->
                    <div class="clear clear-center"></div>
                </div>
                <div id="foot-page">
                    <div id="footer">
                        <span class="foot-nav">
                            <a href ="<%=AppSettings.MailTo %>" target="_blank">Liên hệ</a> | 
                            <a id="ruleVISS" href ="javascript:void(0);" onclick="">Điều khoản sử dụng</a>        
                        </span>
                        <span class="copyright" style="margin-left:180px;">Phiên bản thử nghiệm &copy; Copyright 2010 VISS.VN</span>
                        <span class="foot-logo">
                            <div onclick="javascript:window.open('http://nct.vn','_blank');" class="logo-nct png_bg">&nbsp;</div>
                        </span>
                    </div>
                </div>        
            </div>
        </div>
        <div class="hidden"></div>
    </form>
    
    <script type="text/javascript">

      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-273986-24']);
      _gaq.push(['_trackPageview']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script>
</body>
</html>
